.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}